package com.gmq.chapter01.interrupt;

/**
 * Created by gmq on 2017/08/10.
 * 1.7.7
 *
 * @version 1.0
 * @since 2017/08/10 10:37
 */
public class SynchronizedMyThread extends Thread {

    private SynchronizedObject object;

    public SynchronizedMyThread(SynchronizedObject object) {
        super();
        this.object = object;
    }

    @Override
    public void run() {
        object.printString("b", "bb");
    }
}
